package com.colde.salary.poi.entity;

import java.io.Serializable;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import lombok.Data;

@SuppressWarnings("serial")
@Data
public class UserEnity implements Serializable{

	//@Excel(name="用户ID")
	@ExcelIgnore
	private String userId;
	@Excel(name="用户名称")
	private String nickname;
	@Excel(name="密码")
	private String pwd;
	@Excel(name="性别")
	private String sex;
	@Excel(name="电话")
	private String phone;
	@Excel(name="角色",replace = {"管理员_1","普通用户_2"})
	private String role;
	@Excel(name="创建时间",format = "yyyy-MM-dd HH:mm:ss")
	private Date createtime;
	@Excel(name="最后修改时间",format = "yyyy-MM-dd HH:mm:ss")
	private Date updatetime;
}
